﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BAI36_C_sharp
{
    public abstract class Vehice
    {
        private String name;

        public Vehice() {}
        public String go()
        {
            return("");
        }
        public Boolean isEngineOn()
        {
            return false;
        }
        public void startEngine(){}
        public void stopEngine(){}
        public String getName()
        {
            return ("");
        }
    }
    public interface ICargoTransport
    {
        void loadCargo();
    }
    public  class Car:Vehice 
    {
        public Car(){}
        public override String go()
        {
		return ("");
        }
    }
    public class Person
    {
        public ArraySegment <Vehice> m_Vehice;
        public Person(){}
        public void addVehice(Vehice v){}
    }
    public class Truck: Vehice,ICargoTransport 
    {
        public Truck(){}
        public String go()
        {
            return ("");
        }
        public void loadCargo(){}
    }
    class Program
    {
        static void Main(string[] args)
        {
        }
    }
}
